package com.jiangxjsy.crm.mapper;

import com.jiangxjsy.model.crm.entity.CrmCustomerPool;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * wukong-crm-master
 * 蒋胜宇
 * 2025/6/16 17:30
 */

public interface CrmCustomerPoolMapper {
    /**
     * 查询所有启用的池
     *
     * @return 启用的池
     */
    @Select("select * from wk_crm_customer_pool where status = 1 and put_in_rule = 1 and remind_setting = 1")
    List<CrmCustomerPool> selectEnabledPools();
}
